package user

import (
	"github.com/gin-gonic/gin"
)

func (b Base) Test(c *gin.Context, req *TestRequest) *TestResponse {
	return &TestResponse{
		UserId: c.GetUint("UserId"),
	}
}

type TestRequest struct {
}

type TestResponse struct {
	UserId uint `json:"userId"`
}
